delete
abstract suspend fun delete()
Content copied to clipboard
Permanently deletes this user from your Atlas App Services app.
If the user was deleted successfully on Atlas, the user state will be set to State.REMOVED and any local Realm files owned by the user will be deleted. If the server request fails, the local state will not be modified.
All user realms should be closed before calling this method.
Throws
if the user was already removed or not logged in.
if a failure occurred when communicating with App Services. See AppException for details.